<template>
  <div>
    创建订单成功 {{ orderId }}
  </div>
</template>

<script>
import { useRouter, useRoute } from 'vue-router'

export default {
  name: 'payment',
  setup () {
    // --------------- 常量 start
    const router = useRouter()
    const route = useRoute()
    let orderId = route.query.orderId
    // --------------- 常量 end

    // --------------- 方法 start

    // --------------- 方法 end
    //

    return {
      orderId
    }

  }
}
</script>

<style scoped>

</style>
